import { Throwable } from './Error'

/**
 * <h2 style="color: yellow">普通异常</h2>
 * 业务方酌情处理
 */
export class Exception extends Throwable {}

/**
 * <h3>非法参数异常</h3>
 */
export class IllegalParamException extends Exception {}

/**
 * <h3>非法状态异常</h3>
 */
export class IllegalStatusException extends Exception {}
